package 内部类.匿名内部类.test01;

public class Test01 {
    static class Inner1{}//静态内部类
    class Inner2{}//实例内部类
    public void doSome(){
        class Inner3{}//局部内部类
    }
    public static void main(String[] args) {
        MyMath m1 = new MyMath();
        m1.MySum(new Compute(){
            public int sum(int a, int b) {
                return a + b;
            }
        },100,200);

    }
}
